package com.project.restaurant.common.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class RestaurantDetailInfo {

    /**
     * 餐饮厅id
     */
    private Integer restaurantId;

    /**
     * 餐饮厅图片
     */
    private List<String> restaurantPicture;

    /**
     * 餐饮厅名
     */
    private String restaurantName;

    /**
     * 餐饮厅地区
     */
    private String restaurantArea;

    /**
     * 餐饮厅详细地址
     */
    private String restaurantAddress;

    /**
     * 餐饮厅的营业开始时间
     */
    private LocalTime openBusinessHours;

    /**
     * 餐饮厅的营业结束时间
     */
    private LocalTime closeBusinessHours;

    /**
     * 联系电话
     */
    private String restaurantPhone;

    /**
     * 公告
     */
    private String announcement;

    /**
     * 营业状态（0：休业中、1：营业中）
     */
    private RestaurantState restaurantState;

    @Override
    public String
    toString() {
        return "RestaurantDetailInfo{" +
                "restaurantId=" + restaurantId +
                ", restaurantPicture=" + restaurantPicture +
                ", restaurantName='" + restaurantName + '\'' +
                ", restaurantArea='" + restaurantArea + '\'' +
                ", restaurantAddress='" + restaurantAddress + '\'' +
                ", openBusinessHours=" + openBusinessHours +
                ", closeBusinessHours=" + closeBusinessHours +
                ", restaurantPhone='" + restaurantPhone + '\'' +
                ", announcement='" + announcement + '\'' +
                ", restaurantState=" + restaurantState +
                '}';
    }
}
